<?php 
class detailAction extends sfAction{
	public function execute($request){
		$data = array();
		$data['id']	= $request->getParameter('id', 0);
		$data['detail'] = News::getIndexDetail($data['id']);
		$data['news'] = News::getIndexDetailList($data['id']);
		$this->setVar('data', $data);
	}
}